<template>
    <div id="body">
        <div class="head">
            <div class="head-one">收费项目管理</div>
            <div class="head-two"><span
                    style="color:rgba(0, 0, 0, 0.447058823529412);">收费管理</span>&nbsp;/&nbsp;<span>收费项目</span></div>
        </div>
        <div class="neck">
            <div class="neck-MultiplChoice">
                收费方式
                <div class="checks">
                    <select name="state" id="state">
                        <option value="all">全部</option>
                        <option value="UnderReview">待生效</option>
                        <option value="Approved">生效中</option>
                        <option value="UnApproved">已失效</option>
                    </select>
                </div>
            </div>
            <div class="neck-box">
                <div class="neck-search">
                    投诉人
                    <input type="text" placeholder="请输入">
                </div>
            </div>
            <div class="neck-input">
                <button class="check">查询</button>
                <button class="reset">重置</button>
            </div>
        </div>
        <div class="mid">
            <DataGalleryFrom :taberTitle="columns" :tablename="Gallery" :data="Gallerydata"></DataGalleryFrom>
        </div>
    </div>
</template>
  
<script>
import DataGalleryFrom from "@/components/public/TaberFrom/DataGalleryFrom"
import { Galleryfn } from "@/config/api"

export default {
    name: "Announcement",

    data() {
        return {
            
            Gallery: "项目列表",
            columns: [],
            Gallerydata: []
        };
    },
    components: {
        DataGalleryFrom
    },
    mounted() {
        this.getGallerylist()
    },


    methods: {
        async getGallerylist() {
            let { data: res } = await Galleryfn()
            // console.log(res)
            const { columns, Gallerylist } = res.data
            this.columns = columns;
            this.Gallerydata = Gallerylist
            // console.log(this.columns, this.Gallerydata)
        }
    },
};
</script>
  
<style lang="less"  scoped>
* {
    margin: 0;
    padding: 0;
}

#body {
    margin: 0px;
    background-color: rgba(240, 242, 245, 1);
    background-image: none;
    position: relative;
    left: -24px;
    width: 1136px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;


    .head {
        border-width: 0px;
        position: absolute;
        left: 24px;
        top: 24px;
        display: flex;
        font-family: 'MalayalamMN', 'Malayalam MN', sans-serif;
        font-weight: 400;
        font-style: normal;
        text-align: left;
        left: 0px;
        top: 0px;
        width: 1136px;
        height: 97px;
        background: inherit;
        background-color: rgba(255, 255, 255, 1);
        box-sizing: border-box;
        border-width: 1px;
        border-style: solid;
        border-color: rgba(233, 233, 233, 1);
        border-radius: 2px;
        box-shadow: none;

        .head-one {
            margin-top: 20px;
            font-weight: 700;
            font-style: normal;
            font-size: 20px;
            line-height: 22px;
            color: #333333;
            position: absolute;
            align-self: center;
            padding: 16px 0px 0px 32px;
            box-sizing: border-box;
            width: 100%;
        }

        ;

        .head-two {
            position: absolute;
            align-self: flex-start;
            padding: 16px 0px 16px 32px;
            box-sizing: border-box;
            width: 100%;
            visibility: inherit;
            font-weight: 400;
            font-style: normal;
            font-size: 14px;
            color: rgba(0, 0, 0, 0.847058823529412);
            line-height: 28px;
        }
    }

    .neck {
        border-width: 0px;
        position: absolute;
        top: 97px;
        width: 1136px;
        height: 80px;
        display: flex;
        font-family: 'Arial Normal', 'Arial', sans-serif;
        font-weight: 400;
        font-style: normal;
        font-size: 13px;
        letter-spacing: normal;
        color: #333333;
        vertical-align: none;
        text-align: center;
        line-height: normal;
        text-transform: none;

        .neck-MultiplChoice {
            position: absolute;
            top: 14px;
            display: flex;
            align-items: center;
            z-index: 10;
            padding: 16px 0px 0px 32px;
            border-width: 0px;
            font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
            font-weight: 400;
            font-style: normal;
            color: rgba(0, 0, 0, 0.847058823529412);

            .checks {
                border-width: 0px;
                position: absolute;
                left: 95px;
                top: 8px;
                width: 266px;
                height: 34px;
                display: flex;
                font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
                font-weight: 400;
                font-style: normal;
                font-size: 12px;
                color: rgba(0, 0, 0, 0.149019607843137);
                text-align: left;
                line-height: 22px;
                border: 1px solid;

                select {
                    position: absolute;
                    left: 0px;
                    top: 0px;
                    width: 264px;
                    height: 32px;
                    background: inherit;
                    background-color: rgba(255, 255, 255, 1);
                    box-sizing: border-box;
                    border-width: 0;
                    border-style: solid;
                    // border-color: rgba(24, 144, 255, 1);
                    border-radius: 2px;
                    box-shadow: 0px 0px 8px rgb(24 144 255 / 25%);
                    font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
                    font-weight: 400;
                    font-style: normal;
                    font-size: 12px;
                    color: rgba(0, 0, 0);
                    text-align: left;
                    line-height: 22px;
                    outline-color: rgba(24, 144, 255, 1);
                    padding-left: 5px;

                    option {
                        font-size: 14px;
                        color: rgba(0, 0, 0, 0.647);
                        border-radius: 0;
                    }
                }
            }
        }
    }

    .neck-box {
        border-width: 0px;
        position: absolute;
        width: 1136px;
        height: 80px;
        background: inherit;
        background-color: rgba(255, 255, 255, 1);
        box-sizing: border-box;
        border-width: 1px;
        border-style: solid;
        border-color: rgba(233, 233, 233, 1);
        border-top: 0px;
        border-radius: 2px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        box-shadow: none;
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 0;

        .neck-search {
            line-height: 80px;
            display: flex;
            align-items: center;
            left: 56px;
            top: 144px;
            padding-left: 230px;
            font-size: 14px;

            input {
                border-width: 0;
                top: 0px;
                width: 264px;
                height: 32px;
                font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
                font-weight: 400;
                font-style: normal;
                font-size: 12px;
                text-align: left;
                line-height: 32px;
                border-color: rgba(233, 233, 233, 1);
                border: 1px solid;
                margin-left: 20px;
                border-radius: 2px;
                padding: 2px 2px 2px 10px;
                outline-color: rgba(24, 144, 255, 1);
                box-shadow: 0px 0px 8px rgb(24 144 255 / 25%);
            }
        }
    }

    .neck-input {
        position: absolute;
        right: 0;
        top: 25px;
        width: 300px;

        .check {
            border-width: 0px;
            width: 72px;
            height: 32px;
            font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 14px;
            color: #FFFFFF;
            line-height: 22px;
            align-self: center;
            padding: 0px 0px 0px 0px;
            box-sizing: border-box;
            background-color: rgb(24, 144, 255);
            margin-right: 10px;
        }

        .check:hover {
            background-color: rgba(24, 144, 255, .9)
        }

        .reset {
            border-width: 1px;
            width: 72px;
            height: 32px;
            font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
            font-weight: 400;
            font-style: normal;
            font-size: 14px;
            color: rgba(0, 0, 0, 0.647058823529412);
            line-height: 22px;
            background: inherit;
            background-color: rgba(255, 255, 255, 1);
            box-sizing: border-box;
            border-style: solid;
            border-color: rgba(217, 217, 217, 1);
            border-radius: 2px;
            box-shadow: none;
            position: absolute;


            align-self: center;
            padding: 2px 0px 2px 0px;
            box-sizing: border-box;
        }

        .reset:hover {
            color: rgb(24, 144, 255);
            border-color: rgb(24, 144, 255);
        }
    }
}

.mid {
    position: absolute;
    top: 192px;
    right: 0;
    width: 1136px;
    height: 793px;
    padding: 22px;
    font-size: 16px;
    background-color: #000;
    display: flex;
    font-family: 'MalayalamMN', 'Malayalam MN', sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: left;
    background-color: #ffffff;
    border-color: #e9e9e9;
    border-width: 1px;
    border-style: solid;
    color: #333333;
    line-height: normal;
    text-transform: none;
}
</style>